<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
<script src="md5.js"></script>
<script>
    var e = "";
    for ( var n = 0; n < 11; n++) {
        e += "" + Math.floor(10 * Math.random());
    }

    var t = (new Date).getTime();
    var o = "JMHTd1942a3ab01eb59220e2b3a46e7ef09d" + t + e;

    console.log("o = " + o);

    console.log("e = " + e);
    //使用hex_md5加密
    console.log("sign = " + md5(o, false, false));
    console.log("t = " + t);
</script>
</body>
</html>